<?php

?>

<table style="width: 100%">
	<tr><th>Serverity</th><th>Description</th><th>Acknowledged?</th></tr>
	<tr style="background: #FF5555"><td>Critical</td><td>This is a critical alarm description</td><td><input style="float: right" type="button" value="Ack" id="alarmAck"></input></td></tr>
	<tr style="background: #FFAB57"><td>Major</td><td>This is a major alarm description</td><td><input style="float: right" type="button" value="Ack" id="alarmAck"></input></td></tr>
	<tr style="background: #FFFF57"><td>Minor</td><td>This is a minor alarm description</td><td>ctrader</td></tr>
	<tr style="background: #AB57FF"><td>Warning</td><td>This is a warning alarm description</td><td><input style="float: right" type="button" value="Ack" id="alarmAck"></input></td></tr>
	<tr style="background: #57FFFF"><td>Info</td><td>This is an informational alarm description</td><td><input style="float: right" type="button" value="Ack" id="alarmAck"></input></td></tr>
</table>

<script type="text/javascript">
	$('alarmAck').addEvent('click', function(e){
		MochaUI.notification('Alarm Acknowledged');

	});
</script>
